package com.hd.abc.newcctv.enityt;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.annotations.Param;
import org.springframework.format.annotation.DateTimeFormat;

import javax.swing.*;
import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class user  {
   private int eno;
   private String ename;
   private String esex;
   private double salary;
   private String pwd;
   private int dno;
   @DateTimeFormat(pattern ="yy-MM-dd")
   private Date shijian;
}
